using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace PartBuilder
{
	public partial class NumberDialog : Form
	{
		/// <summary>
		/// Starting Number
		/// </summary>
		public int Number
		{
			get { return (int)numericUpDown.Value; }
			set { numericUpDown.Value = value; }
		}

		public NumberDialog()
		{
			InitializeComponent();
		}

		private void btnOK_Click(object sender, EventArgs e)
		{
			DialogResult = DialogResult.OK;
			this.Close();
		}
	}
}